Modernize benchmark from-file - #927
Conversation
jaredoconnell
left a comment
There was a problem hiding this comment.
It works well. One thing to consider is that it overwrites the old benchmark, which is fine, but if there is ever a bug in it then it could corrupt the results file.
|
Queued — the merge queue status continues in this comment ↓. |
Certainly true -- but not new. I had a couple of ideas along the way that I decided not to pursue, but I'm not sure any of it makes much sense. The user controls the output file, and if they don't want to overwrite the input on |
SkiHatDuckie
left a comment
There was a problem hiding this comment.
Works for me as well. I wonder if it would be a good idea to fix the tests in test_benchmark_from_file_entrypoint.py at some point, so that manual testing isn't as necessary.
I hadn't actually noticed that there are no tests, because they're all disabled. I'm both tempted to fix that and also tempted to just merge the fix and worry about that later... |
jaredoconnell
left a comment
There was a problem hiding this comment.
I don't love the use of a new test dependency, but it's a test dependency. It seems okay.
What I find interesting is that we're doing similar things in product code. Possibly not directly in |
Signed-off-by: David Butenhof <dbutenho@redhat.com>
Signed-off-by: David Butenhof <dbutenho@redhat.com>
Replace the disabled re-export tests with working code. Signed-off-by: David Butenhof <dbutenho@redhat.com>
Signed-off-by: David Butenhof <dbutenho@redhat.com>
|
@Mergifyio queue |
Merge Queue Status
This pull request spent 6 minutes 31 seconds in the queue, including 6 minutes 11 seconds running CI. Required conditions to merge
|
Summary
Modernize
guidellm benchmark from-fileby adopting the full registry typed--outputstyle.Details
The
guidellm benchmark from-filecommand in 0.7.0--output-formats consoledue to an attempt to inject a pathguidellm runReplace the old
--output-formatswith the modern--output kind=<kind>,...style.Test Plan
Manual command testing + tox
Related Issues
guidellm benchmark from-filecrashes withValidationErrorwhen output includesconsoleformat #925Use of AI
git log
commit 1ef3077
Author: David Butenhof dbutenho@redhat.com
Date: Mon Jul 13 10:03:20 2026 -0400
commit e35f0a8
Author: David Butenhof dbutenho@redhat.com
Date: Mon Jul 13 12:33:42 2026 -0400
commit 49128ac
Author: David Butenhof dbutenho@redhat.com
Date: Tue Jul 14 15:32:14 2026 -0400
commit bfd6e5d
Author: David Butenhof dbutenho@redhat.com
Date: Wed Jul 15 14:48:14 2026 -0400
Signed-off-by: David Butenhof dbutenho@redhat.com